package com.example.leonard.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:quartz.properties")
@ConfigurationProperties(prefix = QuartzConfig.PREFIX)
@Data
public class QuartzConfig {
    public static final String PREFIX = "quartz";
    private String cronSchedule;

}
